<template>
  <el-breadcrumb  separator="/">
    <el-breadcrumb-item v-for="item in breadcrumbList" :key="item.patch">
      {{item.name}}
    </el-breadcrumb-item>
  </el-breadcrumb>
</template>

<script>
export default {
  data() {
    return {};
  },
  computed:{
    breadcrumbList(){
      return  this.$route.matched
    }
  }
};
</script>

<style lang="scss" scoped></style>
